package com.ys.entity.business;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TP_BoutiqueAuth", catalog="Id")
public class TpBoutiqueAuth extends BaseEntity<TpBoutiqueAuth> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="BoutiqueCode", nameJava="boutiqueCode", typeDataBase="varchar")
	private String boutiqueCode;
	@YsField(nameDataBase="Vgsbm", nameJava="vgsbm", typeDataBase="varchar")
	private String vgsbm;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TpBoutiqueAuth setId(Long id) {
		this.id = id;
		return this;
	}
	public String getBoutiqueCode() {
		return boutiqueCode;
	}
	public TpBoutiqueAuth setBoutiqueCode(String boutiqueCode) {
		this.boutiqueCode = boutiqueCode;
		return this;
	}
	public String getVgsbm() {
		return vgsbm;
	}
	public TpBoutiqueAuth setVgsbm(String vgsbm) {
		this.vgsbm = vgsbm;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TpBoutiqueAuth setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TpBoutiqueAuth setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TpBoutiqueAuth setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TpBoutiqueAuth tpBoutiqueAuth(
		String boutiqueCode,
		String vgsbm,
		Integer status
			) {
		TpBoutiqueAuth entity = new TpBoutiqueAuth();
		entity.setBoutiqueCode(boutiqueCode);
		entity.setVgsbm(vgsbm);
		entity.setStatus(status);
		return entity;
	}
}